package com.ctshk.rpc.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @description 重置密碼請求vo
 * @author 谢诗宏
 * @date 2020/12/18
 */
@Data
@ApiModel
public class ResetPasswordReq {

    @NotBlank(message = "請輸入舊密碼")
    @ApiModelProperty(name = "oldPassword", value = "舊密碼", required = true)
    private String oldPassword;
    @NotBlank(message = "請輸入新密碼")
    @ApiModelProperty(name = "newPassword", value = "新密碼", required = true)
    private String newPassword;
    @NotBlank(message = "請輸入確認密碼")
    @ApiModelProperty(name = "confirmPassword", value = "確認密碼", required = true)
    private String confirmPassword;

}
